package com.gaofeng.day10;

import java.util.Random;
import java.util.stream.IntStream;

/**
 * @author gaofeng
 * @date 2024-12-22 - 9:15
 */
public class demo06 {
    public static void main(String[] args) {
        // 获取随机数
        Random random = new Random();

        for (int i = 1; i < 101; i++) {
            int number = random.nextInt(10);
            System.out.println(number);

        }
    }
}
